import request from '@/utils/request'

// 查询书籍学生老师关联表列表
export function listTestBookStuTeacher(query) {
  return request({
    url: '/system/TestBookStuTeacher/list',
    method: 'get',
    params: query
  })
}

// 查询书籍学生老师关联表详细
export function getTestBookStuTeacher(id) {
  return request({
    url: '/system/TestBookStuTeacher/' + id,
    method: 'get'
  })
}

// 新增书籍学生老师关联表
export function addTestBookStuTeacher(data) {
  return request({
    url: '/system/TestBookStuTeacher',
    method: 'post',
    data: data
  })
}

// 修改书籍学生老师关联表
export function updateTestBookStuTeacher(data) {
  return request({
    url: '/system/TestBookStuTeacher',
    method: 'put',
    data: data
  })
}

// 删除书籍学生老师关联表
export function delTestBookStuTeacher(id) {
  return request({
    url: '/system/TestBookStuTeacher/' + id,
    method: 'delete'
  })
}
